<template>
  <span>
    {{count}}位
  </span>
</template>

<script>
import Vue from "vue";
export default {
  name: "UserCount",
  data() {
    return {
      count: 0
    }
  },
  created() {
    Vue.axios.get("/user/count").then(({data}) => this.count = data)
  }
}
</script>

<style scoped>

</style>